<script>
	export default {
		async onLaunch() {
			// interceptor()
			try {
				await this.$store.dispatch('updateUserInfo', {
					forceUpdateUser: true
				})
			} catch (e) {
				//TODO handle the exception
			}

			this.$isResolve()
			// console.log('App Launch');
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>
<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "@/uni_modules/uview-ui/index.scss";
	@import "@/common/style/basic.scss";

	* {
		margin: 0;
		padding: 0;
	}

	page {
		background-color: $bgColor;
	}


	view {
		box-sizing: border-box;
		font-size: 28rpx;
	}

	// 覆盖一下picker的颜色
	.uni-picker-container .uni-picker-action.uni-picker-action-confirm {
		color: $themeColor !important;
	}
</style>